﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;

using DQYT.HTDZ.BLL;
using DQYT.HTDZ.Model;

namespace DQYT.HTDZ.Web.BDJTWELL
{
    public partial class Show : Page
    {        
        public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string WELLID= strid;
					ShowInfo(WELLID);
				}
			}
		}
		
	private void ShowInfo(string WELLID)
	{
		BDJTWELLBLL bll=new BDJTWELLBLL();
		BDJTWELLModel model=bll.GetModel(WELLID);
		this.lblGQID.Text=model.GQID;
		this.lblWELLID.Text=model.WELLID;
		this.lblTYJM.Text=model.TYJM;
		this.lblBZJM.Text=model.BZJM;
		this.lblKZRQ.Text=model.KZRQ.ToString();
		this.lblDLWZ.Text=model.DLWZ;
		this.lblWD.Text=model.WD.ToString();
		this.lblJD.Text=model.JD.ToString();
		this.lblSFPTJ.Text=model.SFPTJ.ToString();
		this.lblSFHSJ.Text=model.SFHSJ.ToString();
		this.lblSFHDJ.Text=model.SFHDJ.ToString();
		this.lblSS.Text=model.SS.ToString();

	}


    }
}
